﻿namespace StationDataHub.Models.Enum;

/// <summary>
/// 充电设备接口异常原因枚举（对应协议5.6 ConnectorStatusInfo.FaultType）
/// </summary>
public enum ConnectorFaultTypeEnum
{
    /// <summary>
    /// BMS通信异常
    /// </summary>
    BMS通信异常 = 1,

    /// <summary>
    /// 直流母线输出过压告警
    /// </summary>
    直流母线输出过压告警 = 2,

    /// <summary>
    /// 直流母线输出欠压告警
    /// </summary>
    直流母线输出欠压告警 = 3,

    /// <summary>
    /// 蓄电池充电过流告警
    /// </summary>
    蓄电池充电过流告警 = 4,

    /// <summary>
    /// 充电模块故障
    /// </summary>
    充电模块故障 = 17,

    /// <summary>
    /// 充电模块风扇故障
    /// </summary>
    充电模块风扇故障 = 18,

    /// <summary>
    /// 充电模块过温告警
    /// </summary>
    充电模块过温告警 = 19,

    /// <summary>
    /// 充电模块交流输入告警
    /// </summary>
    充电模块交流输入告警 = 20,

    /// <summary>
    /// 交流接触器故障
    /// </summary>
    交流接触器故障 = 34,

    /// <summary>
    /// 交流输出过流告警
    /// </summary>
    交流输出过流告警 = 35,

    /// <summary>
    /// 交流输入过压告警
    /// </summary>
    交流输入过压告警 = 36,

    /// <summary>
    /// 交流输入欠压告警
    /// </summary>
    交流输入欠压告警 = 37,

    /// <summary>
    /// 交流输出过流保护动作告警
    /// </summary>
    交流输出过流保护动作告警 = 38
}